package org.brisling.satisfaction.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 门诊，住院满意度调查问卷的问题
 * @author SherlockMoon
 *
 */
@Entity
@Table(name=ConstSysParam.MODULE_SATISFACTION_EVALUATE_MESSAGE)
public class SatisfactionEvaluateMessage extends BaseDomain implements BaseDomainInf{
	
	
	/*
	 * 
  CREATE TABLE "TESTBASE"."SATISFACTION_EVALUATE_MESSAGE" 
   (	"EVALUATE_ID" VARCHAR2(108 BYTE) NOT NULL ENABLE, 
	"HOSPITAL_CODE" VARCHAR2(300 BYTE), 
	"HOSPITAL_NAME" VARCHAR2(600 BYTE), 
	"PATIENT_CODE" VARCHAR2(300 BYTE), 
	"PATIENT_NAME" VARCHAR2(150 BYTE), 
	"OUTPATIENT_HOSPITAL_CODE" VARCHAR2(300 BYTE), 
	"EVALUATE_TIME" DATE, 
	"PHONE" VARCHAR2(60 BYTE), 
	"EVALUATE_TYPE" NUMBER, 
	"ADD1" VARCHAR2(1500 BYTE), 
	"ADD2" VARCHAR2(1500 BYTE), 
	"ADD3" VARCHAR2(1500 BYTE), 
	"DEPART_CODE" VARCHAR2(300 BYTE), 
	"DEPART_NAME" VARCHAR2(300 BYTE), 
	"INHZOSPITALAT" VARCHAR2(150 BYTE)
   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"
	 */
	@Column(length=108)
	private String evaluate_id;
	
	@Column(length=300)
	private String hospital_code; 
	
	@Column(length=600)
	private String hospital_name;
	
	@Column(length=300)
	private String patient_code;
	
	@Column(length=150)
	private String patient_name;
	
	@Column(length=300)
	private String outpatient_hospital_code;
	
	private Date evaluate_time;
	
	@Column(length=60)
	private String phone;
	
	private Long evaluate_type;
	
	@Column(length=1500)
	private String add1;

	@Column(length=1500)
	private String add2;

	@Column(length=1500)
	private String add3;
	
	@Column(length=300)
	private String depart_code;
	
	@Column(length=300)
	private String depart_name;
	
	@Column(length=150)
	private String inhzospitalat;
	
	@Column(length=100) 
	private String patient_id;

	public String getPatient_id() {
		return patient_id;
	}

	public void setPatient_id(String patient_id) {
		this.patient_id = patient_id;
	}

	public String getEvaluate_id() {
		return evaluate_id;
	}

	public void setEvaluate_id(String evaluate_id) {
		this.evaluate_id = evaluate_id;
	}

	public String getHospital_code() {
		return hospital_code;
	}

	public void setHospital_code(String hospital_code) {
		this.hospital_code = hospital_code;
	}

	public String getHospital_name() {
		return hospital_name;
	}

	public void setHospital_name(String hospital_name) {
		this.hospital_name = hospital_name;
	}

	public String getPatient_code() {
		return patient_code;
	}

	public void setPatient_code(String patient_code) {
		this.patient_code = patient_code;
	}

	public String getPatient_name() {
		return patient_name;
	}

	public void setPatient_name(String patient_name) {
		this.patient_name = patient_name;
	}

	public String getOutpatient_hospital_code() {
		return outpatient_hospital_code;
	}

	public void setOutpatient_hospital_code(String outpatient_hospital_code) {
		this.outpatient_hospital_code = outpatient_hospital_code;
	}

	public Date getEvaluate_time() {
		return evaluate_time;
	}

	public void setEvaluate_time(Date evaluate_time) {
		this.evaluate_time = evaluate_time;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Long getEvaluate_type() {
		return evaluate_type;
	}

	public void setEvaluate_type(Long evaluate_type) {
		this.evaluate_type = evaluate_type;
	}

	public String getAdd1() {
		return add1;
	}

	public void setAdd1(String add1) {
		this.add1 = add1;
	}

	public String getAdd2() {
		return add2;
	}

	public void setAdd2(String add2) {
		this.add2 = add2;
	}

	public String getAdd3() {
		return add3;
	}

	public void setAdd3(String add3) {
		this.add3 = add3;
	}

	public String getDepart_code() {
		return depart_code;
	}

	public void setDepart_code(String depart_code) {
		this.depart_code = depart_code;
	}

	public String getDepart_name() {
		return depart_name;
	}

	public void setDepart_name(String depart_name) {
		this.depart_name = depart_name;
	}

	public String getInhzospitalat() {
		return inhzospitalat;
	}

	public void setInhzospitalat(String inhzospitalat) {
		this.inhzospitalat = inhzospitalat;
	}
	
}
